qui(
    function (require, exports, module) {
        SysConfig.Dao = $.extend({}, EpgWeb.Dao, {
            submitEdit:function(data,callback){
                var options = {
                    type: "post",
                    url: SysConfig.urlConfig.editUrl,
                    dataType: "json",
                    data: data,
                    success: function (data) {
                        callback.call(this, data);
                    },
                    error: function (data) {
                        callback.call(this, data);
                    }
                }
                Ancestor.Dao.ajax(options,"/configs/edit");
            },
            submitAdd:function(data,callback){
                var options = {
                    type: "post",
                    url: SysConfig.urlConfig.addUrl,
                    dataType: "json",
                    data: data,
                    success: function (data) {
                        callback.call(this, data);
                    },
                    error: function (data) {
                        callback.call(this, data);
                    }
                }
                Ancestor.Dao.ajax(options,"/configs/add");
            },
            doQuery:function(data,callback){
                var options = {
                    type: "get",
                    url: SysConfig.urlConfig.queryUrl,
                    dataType: "json",
                    data: data,
                    success: function (data) {
                        callback.call(this, data);
                    },
                    error: function (data) {
                        callback.call(this, data);
                    }
                }
                Ancestor.Dao.ajax(options,"/configs/query");
            }
        })
    }
);